package Day02_java流程控制.Java10_逻辑结构.选择结构;

public class 练习 {
    public static void main(String[] args) {
        int num1 = 1;
        int num2 = 9;
        int t =0;
        if(num1<num2){
            t=num1;
            num1=num2;
        }
        System.out.println("num1 = "+ num1 + " num2 = " + t);
    }
}
